package com.qlzb.taskmanagement.vo.quartzVo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class AreaUserList {
    private static Logger logger = LoggerFactory.getLogger(AreaUserList.class);
    public static String remoteHost= ParamProperties.remoteHost;
    public static  AreaUser[] areaUsers=null;
    public static AreaUser sc =new AreaUser("四川省","SC_jiliang","sc123456","22",remoteHost,"0001931",ProviceUser.sc,new AreaDefineParam("queryForm:unitTypeHidden=PROVINCE","H"));
    public static AreaUser yb =new AreaUser("宜宾","13982247000","","2005",remoteHost,"0100005", ProviceUser.sc);
    //四川
    public static  AreaUser[] sc_areaUsers= new AreaUser[]{yb};
    //省平台
    public static AreaUser hj   =new AreaUser("江汉市","xtqlzb","","68",remoteHost,"0107268",ProviceUser.hb,new AreaDefineParam("queryForm:unitTypeHidden=SITE","H"));
    public static AreaUser qn   =new AreaUser("黔南分公司","liming729","","37",remoteHost,"0100032",ProviceUser.gz);
    public static AreaUser as   =new AreaUser("安顺","asttjk","","371",remoteHost,"0100031",ProviceUser.gz);
    public static AreaUser nanz   =new AreaUser("兰州市","lzyjcj","","732",remoteHost,"0100067",ProviceUser.gs);

    public static AreaUser ningxia   =new AreaUser("临夏","lxyjcj","","744",remoteHost,"0100077",ProviceUser.gs);
    // 0107268
    public static AreaUser suqian   =new AreaUser("宿迁市","sqtt","","10074",remoteHost,"0099835",ProviceUser.js);
    public static AreaUser nanjin   =new AreaUser("南京市","njyjcj","","10062",remoteHost,"0099823", ProviceUser.js);
    public static AreaUser xuzhou   =new AreaUser("徐州市","xzyjcj","","10064",remoteHost,"0099826", ProviceUser.js);
    public static AreaUser wuxi   =new AreaUser("无锡市","wxyjcj","","10063",remoteHost,"0099825", ProviceUser.js);
    public static AreaUser huaian   =new AreaUser("淮安市","hayjcj","","10069",remoteHost,"0099830", ProviceUser.js);
    public static AreaUser changzhou   =new AreaUser("常州市","czyjcj","","10065",remoteHost,"0099827", ProviceUser.js);
    public static AreaUser suzhou   =new AreaUser("苏州市","szyjcj","","10066",remoteHost,"0099824", ProviceUser.js);
    public static AreaUser nantong   =new AreaUser("南通市","ntyjcj","","10067",remoteHost,"0099828", ProviceUser.js);
    public static AreaUser lianyungang   =new AreaUser("连云港市","lygyjcj","","10068",remoteHost,"0099829", ProviceUser.js);
    public static AreaUser yancheng   =new AreaUser("盐城市","ycyjcj","","10070",remoteHost,"0099831", ProviceUser.js);
    public static AreaUser yangzhou   =new AreaUser("扬州市","yzyjcj","","10071",remoteHost,"0099832", ProviceUser.js);
    public static AreaUser zhenjiang   =new AreaUser("镇江市","zjyjcj","","10072",remoteHost,"0099833", ProviceUser.js);
    public static AreaUser taizhou   =new AreaUser("泰州市","tzyjcj","","10073",remoteHost,"0099834", ProviceUser.js);
    public static AreaUser yulin   =new AreaUser("玉林","DSF.kexin","","1123",remoteHost,"0099980", ProviceUser.gx);
    public static AreaUser snuo   =new AreaUser("商洛","zhangjuan","","620",remoteHost,"0100064", ProviceUser.sx );
    public static AreaUser lb   =new AreaUser("来宾","gx-lb-kexin","","1127",remoteHost,"0099989", ProviceUser.gx );
    public static AreaUser yongchuan   =new AreaUser("永川","YCJKZX","","74",remoteHost,"0190715", ProviceUser.cq);
    public static AreaUser nanan   =new AreaUser("南岸","najkzx","","87",remoteHost,"0190709", ProviceUser.cq);
    public static AreaUser liangjiang   =new AreaUser("两江","zhuyan","","85",remoteHost,"0190707", ProviceUser.cq);
    public static AreaUser qianjiang   =new AreaUser("黔江","zhangfang","","89",remoteHost,"0190711", ProviceUser.cq);
    public static AreaUser fuling   =new AreaUser("涪陵","FLTTJKZX-SUNWJ","","72",remoteHost,"0190702", ProviceUser.cq);
    public static AreaUser fengjie   =new AreaUser("奉节","fjjk","","88",remoteHost,"0190699", ProviceUser.cq);
    public static AreaUser wanzhou   =new AreaUser("万州","wz-jkzx","","71",remoteHost,"0190713", ProviceUser.cq);
    public static AreaUser yuzhong   =new AreaUser("渝中","yuzhongjk","","86",remoteHost,"0190717", ProviceUser.cq);
    public static AreaUser hechuan   =new AreaUser("合川","zhengjiang","","70",remoteHost,"0190705", ProviceUser.cq);
    public static AreaUser nanning   =new AreaUser("南宁","nanning","","1115",remoteHost,"0099894", ProviceUser.gx);
    public static AreaUser nanchang   =new AreaUser("南昌","nanccx","","1456",remoteHost,"0099894", ProviceUser.jx);
    public static AreaUser guigang   =new AreaUser("贵港","xiangyang1","","1122",remoteHost,"0099981", ProviceUser.gx);
    public static AreaUser xining   =new AreaUser("西宁","qhxnqianxx","","1247",remoteHost,"0100082", ProviceUser.qh);
    public static AreaUser guilin   =new AreaUser("桂林","CJ-zhouj","","1117",remoteHost,"0099979", ProviceUser.gx);
    public static AreaUser chongzuo   =new AreaUser("崇左","cdkx-zhoujun","","1128",remoteHost,"0099988", ProviceUser.gx);
    public static AreaUser beihai   =new AreaUser("北海","BH-XIANGYANG","","1119",remoteHost,"0099986", ProviceUser.gx);

    public static  AreaUser[] cloud_areaUsers= new AreaUser[]{hj,nanchang,xining};
    //江苏
    public static AreaUser js_suqian   =new AreaUser("宿迁市","sqtt","","10074",remoteHost,"0099835", ProviceUser.js_inner);
    public static  AreaUser[] js_areaUsers= new AreaUser[]{js_suqian,nanjin,xuzhou,wuxi,huaian,changzhou,suzhou,nantong,lianyungang,yancheng,yangzhou,zhenjiang,taizhou};
    public static  AreaUser[] gs_areaUsers= new AreaUser[]{ningxia,nanz};
    public static  AreaUser[] jx_areaUsers= new AreaUser[]{nanchang};
    //省平台
    public static AreaUser xz   =new AreaUser("西藏","XZ","XZ111111","26",remoteHost,"0098368",ProviceUser.xz,new AreaDefineParam("queryForm:unitTypeHidden=PROVINCE","H"));
    public static  AreaUser[] xz_areaUsers= new AreaUser[]{xz};
    public static  AreaUser[] gx_areaUsers= new AreaUser[]{guigang,lb,yulin,guilin,chongzuo,beihai};

    public static AreaUser tj =new AreaUser("天津","zhangyahui","vfr4bgt5","3",remoteHost,"0001937", ProviceUser.tj);
    public static  AreaUser[] tj_areaUsers= new AreaUser[]{tj,xz};
    public static AreaUser jnan =new AreaUser("济南","jncs","tt888888","1000",remoteHost,"0099838", ProviceUser.sd);
    public static AreaUser js =new AreaUser("江苏","jstt_wuchao","wuchao1234","12",remoteHost,"0001944", ProviceUser.js);
    public static  AreaUser[] all_areaUsers= new AreaUser[]{jnan,tj,xz,js};
    //通过启动areaid 获取area
    public static AreaUser getAreaUser(String areaId) {
        for(AreaUser areaUser: areaUsers){
            if(areaId.equals(areaUser.areaid)){
                return areaUser;
            }
        }
        return null;
    }
    //初始打印 登录信息
    public static void showAreas(){
        for(AreaUser areaUser: areaUsers){
            logger.info(areaUser.toString());
        }
    }
}
